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

# source: BLFS 2013-08-1 updated to 1.4.22
TARBALL=gnupg-$PKGVER.tar.bz2
MD5SUM=082bda3951a94743e76b83fcf3627547
SRC_URL=ftp://ftp.gnupg.org/gcrypt/gnupg/$TARBALL
BUNDLE=

SLACKREQ='libusb-compat curl libgpg-error'
SLACKDESC="gnupg1: gnupg1 $PKGVER (GNU Privacy Guard version 1)  
gnupg1:  
gnupg1: GnuPG is the GNU project's complete and free implementation of the 
gnupg1: OpenPGP standard as defined by RFC4880. GnuPG allows to encrypt and 
gnupg1: sign your data and communication, features a versatile key management 
gnupg1: system as well as access modules for all kinds of public key 
gnupg1: directories. GnuPG, also known as GPG, is a command line tool with 
gnupg1: features for easy integration with other applications. A wealth of 
gnupg1: frontend applications and libraries are available. This is version 1 
gnupg1: of GnuPG, it does not support S/MIME (look for version 2 which does).  
gnupg1:
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	pkg_build_autoconf && 
	install -v -m755 -d /usr/share/doc/gnupg-$PKGVER &&
	cp      -v          /usr/share/gnupg/FAQ \
						/usr/share/doc/gnupg-$PKGVER &&
	install -v -m644    doc/{highlights-1.4.txt,OpenPGP,samplekeys.asc,DETAILS} \
						/usr/share/doc/gnupg-$PKGVER &&
	pkg_build_slackdesc
}


