# Description: A replacement for the old crypt() package
# URL: https://mcrypt.sourceforge.net/
# Maintainer: Danny Rawlins, crux at romster dot me

name=libmcrypt
version=2.5.8
release=3
source=(https://downloads.sourceforge.net/project/mcrypt/Libmcrypt/$version/$name-$version.tar.gz)

build() {
  cd $name-$version

  ./configure \
    --prefix=/usr \
    --mandir=/usr/share/man \
    --disable-posix-threads

  make DESTDIR=$PKG install
}
