#Packager: fredg <fred.galusik~at~gmail~dot~com>

pkgname=ccrypt
pkgver=1.9
pkgrel=1fg
arch=i486
source=(http://ccrypt.sourceforge.net/download/$pkgname-$pkgver.tar.gz)
sourcetemplate=http://people.salixos.org/fredg/$pkgname/
docs=("readme" "install" "copying" "changelog" "authors" "news")
url=http://ccrypt.sourceforge.net/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"ccrypt (Secure encryption and decryption of files and streams)"
"ccrypt is a utility for encrypting and decrypting files and streams."
"It was designed as a replacement for the standard unix crypt utility,"
"which is notorious for using a very weak encryption algorithm. ccrypt"
"is based on the Rijndael cipher, which is the U.S. government's chosen"
"candidate for the Advanced Encryption Standard"
"(AES, see http://www.nist.gov/aes). This cipher is believed to provide"
"very strong security." 
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr \
        --libdir=/usr/lib${LIBDIRSUFFIX} \
        --localstatedir=/var \
        --sysconfdir=/etc \
        --disable-static
	make || return 1
	make install DESTDIR=$startdir/pkg
}