# Template file for 'utox'
pkgname=utox
version=0.5.1
revision=2
short_desc="Lightweight TOX instant messenger client written in C"
maintainer="Spencer Hill <spencernh77@gmail.com>"
license="GPL-3"
homepage="https://utox.org"
hostmakedepends="git"
makedepends="toxcore-devel-git filteraudio-devel-git fontconfig-devel
 freetype-devel libopenal-devel libvpx-devel libX11-devel libXext-devel
 libXrender-devel dbus-devel v4l-utils-devel libsodium-devel opus-devel"
hostmakedepends="pkg-config"
distfiles="https://github.com/GrayHatter/uTox/archive/v${version}.tar.gz"
checksum=e9e319005431562abf11d527444a8c957643fb9b86dacd2e88bcf2443c4bfcfd
build_style="gnu-makefile"
wrksrc="uTox-${version}"

do_build() {
	make CC=$CC ${makejobs}
}
