# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=bcnm
pkgver=0.0.1.0
pkgrel=0
pkgdesc="Client network manager"
url="https://www.skarnet.org/software/bcnm/"
arch="all"
options="!check"  # No test suite.
license="ISC"
depends=""
makedepends="skalibs-dev"
subpackages="$pkgname-dev"
source="https://www.skarnet.org/software/bcnm/bcnm-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

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

sha512sums="abe37c2629baa3c583734c7f783565c52f376ff553c503b5666e081cce042efa2e4d2a219b4911b23ea1c437f1ab0d9d1a928cc5126d8efb65e2981b86b220e1  bcnm-0.0.1.0.tar.gz"