APP=libksba
VERSION=1.4.0
BUILD=1sml
HOMEPAGE='https://gnupg.org/software/libksba/index.html'
DESC="X.509 & CMS library for S/MIME and TLS"
REQUIRES="libgpg-error"

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

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

  ./configure \
    --prefix="" \
    --sysconfdir=/etc \
    --enable-shared=yes \
    --enable-static=no

  make
  make install DESTDIR=$PKG 

  cp COPYING* $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
bcd4e83b6a8e6ae2d15de8670d923d085556c6617d3904afe9477eca11484ab3db0b7cd64ca2c06d7b1af5bf9b95fca502bf0f6f4c15290dd1e90a4c0d8363e6  libksba-1.4.0.tar.lz
"
