# Description: Provides support for IETF Internationalized Domain Names (IDN)
# URL: http://www.gnu.org/software/libidn/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: libunistring

name=libidn2
version=2.3.7
release=1
source=(https://ftp.gnu.org/gnu/libidn/$name-$version.tar.gz)

build() {
  cd $name-$version

  ./configure \
    --prefix=/usr \
    --disable-nls

  make
  make DESTDIR=$PKG install

  rm -r $PKG/usr/share/{gtk-doc,info}
}
