### this file is sourced not run
PKGVER=1.1
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=syncterm-$PKGVER-src.tgz
MD5SUM=f528a1fdbe87a69a52582582d99e4032
SRC_URL=http://downloads.sourceforge.net/syncterm/$TARBALL
BUNDLE=

SLACKREQ='' 
SLACKDESC="syncterm: syncterm $PKGVER (BBS Terminal Program)
syncterm: 
syncterm: SyncTERM is a BBS terminal program supporting X/Y/ZModem 
syncterm: up/downloads, with support for full ANSI-BBS, CGTerm PETSCII ATASCII, 
syncterm: IBM low/high ASCII, multiple text screen modes, 
syncterm: telnet/rlogin/ssh/raw/modem/shell, and mouse support. It runs on 
syncterm: linux terminal (curses), X11 and [DSDL.
syncterm: 
syncterm: https://syncterm.bbsdev.net/
syncterm: 
syncterm: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/syncterm*/src/syncterm &&
	unset CC       && # by default CC="gcc -m64" and this confuses cryptlib build script
	make RELEASE=1 && # release build, otherwise it's debug by default
	install -m755  gcc.linux.x64.exe.release/syncterm /usr/bin &&
	pkg_build_slackdesc
}
