# Template file for 'dwb'
pkgname=dwb
version=2014.03.07
revision=2
build_style=gnu-makefile
hostmakedepends="pkg-config m4"
makedepends="gnutls-devel libsoup-devel webkitgtk-devel json-c-devel"
short_desc="lightweight web browser based on webkit and gtk"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-3"
homepage="http://portix.bitbucket.org/dwb/"
distfiles="https://bitbucket.org/portix/dwb/downloads/dwb-$version.tar.gz"
checksum=bfbe3e366b27c969876f9ee7954f138b1d49a270aa84a14ce43e01591ab69b62

do_build() {
	sed -i '/^CFLAGS += -Werror=/d' config.mk
	sed -i 's/-Werror[^ ]*//' */Makefile scripts/lib/Makefile
	make CC=$CC ${makejobs} GTK=3
}
