APP=gpgme
VERSION=1.13.1
BUILD=1sml
HOMEPAGE='https://gnupg.org/software/gpgme/index.html'
DOWNLOAD='https://gnupg.org/ftp/gcrypt/gpgme/gpgme-1.13.1.tar.bz2'
DESC="C language library to easily add crypto to a program"
REQUIRES="gcc-libs libassuan libgpg-error"

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

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

  # TODO: disable linking against qt5 
  ./configure \
    --prefix="" \
    --disable-static \
    --disable-gpg-test

  make
  make install DESTDIR=$PKG 

  cp COPYING* $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
11de670c6cf512508103fe67af56d9fbb2a9dda6fc6fa3cd321371bbe337c7c2c81913ca557d07187adb2a63d37ea1a44da97ab22345bbe6022c405d0cb083b8  gpgme-1.13.1.tar.bz2
"
