# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=libnatpmp
pkgver=20150609
pkgrel=0
pkgdesc="A portable and fully compliant implementation of the NAT-PMP protocol"
url="https://miniupnp.tuxfamily.org/libnatpmp.html"
arch="all"
options="!check"
license="BSD-3-Clause"
depends=""
makedepends=""
subpackages="$pkgname-dev"
source="https://miniupnp.tuxfamily.org/files/libnatpmp-$pkgver.tar.gz"

build() {
	make
}

package() {
	make PREFIX="$pkgdir" install
}

sha512sums="e50b1f68ce9254bb2f068ddc37417a3c417b80f7b3fb3d84e3e9af4a144d89e204ab993b54c01657335e855d0124a8fcbbf96ce78db7b9ae0b03b6eb79de2e09  libnatpmp-20150609.tar.gz"