# Template file for 'vimb'
pkgname=vimb
version=2.12
revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="$(vopt_if gtk3 webkitgtk-devel webkitgtk2-devel)"
short_desc="Fast and lightweight web browser based on WebKit/GTK+"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="GPL-3"
homepage="http://fanglingsu.github.io/vimb"
distfiles="https://github.com/fanglingsu/vimb/archive/${version}.tar.gz"
checksum=2443a27d625ff2a7aa7e7b694ec853e25dbdcb33b7c681c98c8fe81b1833b0b7

build_options="gtk3"
desc_option_gtk3="Use GTK+3"

do_build() {
	make ${makejobs} CC=$CC $(vopt_if gtk3 GTK=3)
}
