# Description: Yubico YubiKey C library
# URL: https://github.com/Yubico/yubico-c
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on:
# Optional: asciidoc

name=yubico-c
version=1.13
release=3
source=(https://github.com/Yubico/yubico-c/archive/libyubikey-$version.tar.gz)

build() {
  cd $name-libyubikey-$version
  autoreconf --install
  ./configure --prefix=/usr
  prt-get isinst asciidoc && \
    (make && make DESTDIR=$PKG install) || \
    make DESTDIR=$PKG install-includeHEADERS install-binPROGRAMS
}
