description="C library to handle the Public Suffix List"
url="https://github.com/rockdaboot/libpsl"

packager="tnut <tnut@nutyx.org>"

makedepends=(python2 libidn libunistring)

name=libpsl
version=0.21.0

source=(https://github.com/rockdaboot/libpsl/releases/download/$name-$version/$name-$version.tar.gz)
build() {
cd $name-$version
./configure --prefix=/usr --disable-static
make
make DESTDIR=$PKG install
# Obsolet libs
rm $PKG/usr/lib/libpsl.la
}
