app=libassuan
version=2.5.3
build=1sml
homepage="https://gnupg.org/software/libassuan/index.html"
download="https://gnupg.org/ftp/gcrypt/libassuan/libassuan-$version.tar.bz2"
desc="Interprocess Communication Library for GPG"
requires="libgpg-error"

build() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version
  fixbuilddirpermissions

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

  make
  make install DESTDIR=$pkg

  cp COPYING* $pkgdocs/

  mkfinalpkg
}

sha512sums="
947c354e1b3a2014af28f0fb02ebadd5ec304f3764cdcc0d4b5904aee5628b3c34024ab2871daa765a936236df91232839dea911ac70a23533c25f1dd010abef  libassuan-2.5.3.tar.lz
"
