# Description:  MCrypt is a replacement for the old crypt() package and crypt(1) command, with extensions
# URL:  http://mcrypt.hellug.gr
# Maintainer:  z3bra <dev at z3bra dot org>
# Depends on: libmcrypt mhash 

name=mcrypt
version=2.6.4
release=2
source=(ftp://$name.hellug.gr/pub/crypto/$name/attic/$name-$version.tar.gz makefile.patch)

build() {
    cd $name-$version

    ./configure --prefix=/usr --mandir=/usr/share/man --disable-nls
    cat $SRC/*.patch | patch -Np1
    make
    make DESTDIR=$PKG \
         PREFIX=/usr \
         MANDIR=/usr/share/man\
         install
}
# vim: set ft=sh ts=4 et:
