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

# source: post BLFS 7.8 2016-01-10
TARBALL=pinentry-$PKGVER.tar.bz2
MD5SUM=9510b2de013e818dab619e468298703a
SRC_URL=ftp://ftp.gnupg.org/gcrypt/pinentry/$TARBALL
BUNDLE=

SLACKREQ='libassuan'
SLACKDESC="pinentry-curses: pinentry-curses $PKGVER (GnuPG Pin Entry)  
pinentry-curses:  
pinentry-curses: The PIN-Entry package contains a collection of simple PIN or 
pinentry-curses: pass-phrase entry dialogs which utilize the Assuan protocol 
pinentry-curses: as described by the Ägypten project. PIN-Entry programs are 
pinentry-curses: usually invoked by the gpg-agent daemon, but can be run from 
pinentry-curses: the command line as well. This package provides PIN-Entry for 
pinentry-curses: curses (ie text/console) interface.  
pinentry-curses: 
pinentry-curses: 
pinentry-curses:
"
SLACKCONF='pinentry-gui'

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS \
		--enable-pinentry-curses \
		--enable-pinentry-tty \
		--disable-pinentry-gtk2 \
		--disable-pinentry-qt \
		--disable-pinentry-qt5 \
		--disable-libsecret \
		" &&
	pkg_build_autoconf && 
	pkg_build_slackdesc
}


