# SliTaz package receipt.

PACKAGE="pinentry"
VERSION="0.8.1"
CATEGORY="security"
SHORT_DESC="pinentry is a small collection of dialog programs that allow GnuPG to read passphrases and PIN numbers in a secure manner."
DEPENDS="ncursesw libcap"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.gnupg.org/"
WGET_URL="ftp://ftp.gnupg.org/gcrypt/pinentry/$TARBALL"

# Rules to gen a SliTaz package suitable for Tazpkg.

compile_rules()
{
	cd $src
	./configure --enable-pinentry-curses \
		--disable-pinentry-gtk \
		--disable-pinentry-gtk2 \
		--disable-pinentry-qt \
		--disable-pinentry-qt4 &&
	make &&	make install
}

genpkg_rules()
{
	mkdir -p $fs/usr/
	cp -a $_pkg/usr/bin $fs/usr
}