# Template file for 'vimb'
pkgname=vimb
version=2.10
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=a46ee9530ec8da62feb3972a80e270c216bc6fb363bb729ceaae1c892513df58

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

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