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

# source: james
TARBALL=s-nail-$PKGVER.tar.xz
MD5SUM=1d62076cf2f1902502d127f603e90ea5
SRC_URL=https://www.sdaoden.eu/downloads/$TARBALL
BUNDLE=

SLACKREQ='openssl libidn2'
SLACKDESC="s-nail: s-nail $PKGVER (Feature-rich mail user agent)
s-nail: 
s-nail: S-nail provides a simple and friendly environment for sending and 
s-nail: receiving mail. It provides the functionality of the POSIX mailx(1) 
s-nail: command, but is MIME capable and optionally offers extensions for 
s-nail: line editing, S/MIME, SMTP and POP3, among others.
s-nail: 
s-nail: https://www.sdaoden.eu/code.html
s-nail: https://www.sdaoden.eu/code-nail.html
s-nail: 
s-nail: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/s-nail* &&
	make CONFIG=MAXIMAL VAL_PREFIX=/usr VAL_SYSCONFDIR=/etc tangerine &&

	# cleanup
	rm -f /root/.rnd /usr/bin/s-nail-uninstall.sh
}
