# Template file for 'clipgrab'
pkgname=clipgrab
version=3.4.11
revision=1
hostmakedepends="qt-qmake"
makedepends="qt-devel"
depends="ffmpeg desktop-file-utils"
short_desc="A friendly downloader for YouTube and other sites"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://www.clipgrab.org"
distfiles="http://download.clipgrab.de/${pkgname}-${version}.tar.bz2"
checksum=48f7cbd9a503b19246ae2d31af8d2bba7c57945f5ba8ca4fcf7bf6b3a265bd83

do_build() {
	qmake clipgrab.pro
	make CXXFLAGS="$CXXFLAGS" ${makejobs}
}
do_install() {
	vbin clipgrab
	vinstall icon.png 644 usr/share/pixmaps clipgrab.png
	vinstall ${FILESDIR}/clipgrab.desktop 644 usr/share/applications
}
