# Contributor: Daniel Sabogal <dsabogalcc@gmail.com>
# Maintainer:
pkgname=enet
pkgver=1.3.14
pkgrel=0
pkgdesc="Reliable UDP networking library"
options="!check" # No testsuite
url="http://enet.bespin.org"
arch="all"
license="MIT"
subpackages="$pkgname-dev"
source="http://enet.bespin.org/download/$pkgname-$pkgver.tar.gz"

build() {
	./configure --prefix=/usr --disable-static
	make
}

package() {
	make DESTDIR="$pkgdir/" install
}

sha512sums="56011529c02ef085e57c77b7d6b72e5d0e76159ebf94a9980f50c2c8f7ef85a32a163e65d9414dda810fc2204e71c389745e7725a731371e2847a45bd4e18704  enet-1.3.14.tar.gz"
