APP=libidn
VERSION=1.35
BUILD=1sml
HOMEPAGE="https://www.gnu.org/software/libidn/"
DESC="GNU Internationalized Domain Name library"
REQUIRES="musl"

build() {
  mkandenterbuilddir
  rm -rf $APP-$VERSION

  tar xf $SRCDIR/$APP-$VERSION.tar.?z*
  cd $APP-$VERSION
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --disable-static 

  make
  make install DESTDIR=$PKG

  cp COPYING* $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
7c7af33279dc60af2c148da0c746a3af227de887e6e967afe49ba04f8d01c5ff6de792ca6dd0913525a5f4488557bba6eb12f4cf16369165b029d27942e01a31  libidn-1.35.tar.lz
"
