# Template file for 'vokoscreen'
pkgname=vokoscreen
version=2.4.0
revision=1
hostmakedepends="pkg-config qt-qmake"
makedepends="qt-devel alsa-lib-devel libX11-devel v4l-utils-devel"
depends="ffmpeg"
short_desc="Easy to use screencast creator"
maintainer="Duncaen <mail@duncano.de>"
license="GPL-2"
homepage="http://linuxecke.volkoh.de/vokoscreen/vokoscreen.html"
distfiles="https://github.com/vkohaupt/vokoscreen/archive/${version}.tar.gz"
checksum=511c0db41a22670335203857783b786ab01fbe9f897470b32b07cc56d47194d6

do_configure() {
	qmake QMAKE_CFLAGS="${CFLAGS}" QMAKE_CXXFLAGS="${CXXFLAGS}" QMAKE_LFLAGS="${LDFLAGS}" QMAKE_STRIP=""
}
do_build() {
	make ${makejobs}
}
do_install() {
	make INSTALL_ROOT=${DESTDIR} install
}
