# Maintainer: Haelwenn (lanodan) Monnier <contact+alpine@hacktivis.me>
pkgname=badwolf
pkgver=1.3.0
pkgrel=3
pkgdesc="A minimalist and privacy-oriented WebKit browser"
url="https://hacktivis.me/projects/badwolf"
arch="all"
license="BSD-3-Clause"
makedepends="webkit2gtk-4.1-dev samurai cmd:ed"
checkdepends="mandoc"
subpackages="$pkgname-dbg $pkgname-doc"
source="https://hacktivis.me/releases/badwolf-$pkgver.tar.gz"

build() {
	PREFIX=/usr WITH_WEBKITGTK=4.1 ./configure
	samu
}

check() {
	samu test
}

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

sha512sums="
f83884f9a1c4d12d641f68697d7fab7885803975ead6cb78e88b0b8d2f7b6f9da116f72e39f02c47e8dca89e4ced9b932524338a6211c7d4509c12206c10cdeb  badwolf-1.3.0.tar.gz
"
