# Description: Low-level cryptographic library
# URL: http://www.lysator.liu.se/~nisse/nettle/
# Maintainer: Jose V Beneyto, sepen at crux dot nu
# Packager: Jose V Beneyto, sepen at crux dot nu
# Depends on:

name=nettle
version=3.2
release=1
source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)

build() {
  cd $name-$version

  ./configure --prefix=/usr \
              --libdir=/usr/lib \
              --disable-documentation

  make
  make DESTDIR=$PKG install

  rm -rf $PKG/usr/share
}
