# Description: bibliotheque C Yubico
# URL: http://www.yubico.com/
# Packager: tnut at nutyx dot org
# Depends on: libusb asciidoc

name=libyubikey
version=1.13
release=1

source=(https://github.com/Yubico/yubico-c/archive/libyubikey-$version.tar.gz
	libyubikey.70-yubikey.rules)
build ()
{
cd yubico-c-libyubikey-$version
autoreconf --install
./configure --prefix=/usr
make
make DESTDIR="${PKG}/" install
install -D -m0644 "${SRC}/libyubikey.70-yubikey.rules" "${PKG}/lib/udev/rules.d/70-yubikey.rules"
}
