# Template file for 'utox'
pkgname=utox
version=0.15.0
revision=3
wrksrc="uTox-${version}"
build_style=cmake
configure_args="-DENABLE_ASAN=OFF"
short_desc="Lightweight TOX instant messenger client written in C"
maintainer="Spencer Hill <spencernh77@gmail.com>"
license="GPL-3"
homepage="http://utox.org/"
hostmakedepends="pkg-config"
makedepends="toxcore-devel filter_audio-devel fontconfig-devel
 freetype-devel libopenal-devel libvpx-devel libX11-devel libXext-devel
 libXrender-devel dbus-devel v4l-utils-devel libsodium-devel opus-devel
 check-devel"
distfiles="https://github.com/uTox/uTox/archive/v${version}.tar.gz"
checksum=59042c249bbde3fc9cbd834a74cf55bc00b64ab24bb0ef2759488bb6b03d2506

case "$XBPS_TARGET_MACHINE" in
	i686*) broken="https://build.voidlinux.eu/builders/i686_builder/builds/55/steps/shell_3/logs/stdio"
esac

nocross="https://build.voidlinux.eu/builders/armv6l-musl_builder/builds/12668/steps/shell_3/logs/stdio"
