makedepends=(cmake git)
run=(gpgme)

description="C++ bindings for GPGME"
url="https://gnupg.org/software/gpgme/index.html"

packager="Great-OS Team"
maintainer="Great-OS Team"

name=gpgmepp
version=2.0.0
release=1

source=()

build() {

  git clone https://dev.gnupg.org/source/gpgmepp
  cd gpgmepp
  git checkout gpgmepp-${version}

  cd ..
  cmake -B build -S $name -DCMAKE_INSTALL_PREFIX=/usr
  cmake --build build
  DESTDIR="$PKG" cmake --install build
}
