makedepends=(libidn2 libunistring)

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

packager="Great-OS Team"
maintainer="Great-OS Team"

name=libpsl
version=0.21.5
release=1

source=(https://github.com/rockdaboot/libpsl/releases/download/${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

}
