makedepends=(sqlite boost)

description="Crypto library written in C++"
url="https://botan.randombit.net/"

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

name=botan
version=3.10.0
release=1

source=(https://botan.randombit.net/releases/Botan-${version}.tar.xz)

build() {
  cd ${name^}-$version

  #From Debian
  #patch -Np1 -i ../use_python3.patch

  ./configure.py \
    --prefix=/usr \
    --with-bzip \
    --with-lzma \
    --with-zlib \
    --with-boost \
    --with-sqlite3 \
    --with-os-feature=getrandom

  make
  make DESTDIR=$PKG install
}
