# Template file for 'libpurple-telegram'
pkgname=libpurple-telegram
version=1.4.3
revision=1
wrksrc=telegram-purple
build_style=gnu-configure
hostmakedepends="gettext pkg-config which"
makedepends="libpurple-devel libglib-devel libwebp-devel libgcrypt-devel"
short_desc="Telegram plugin for libpurple"
maintainer="John Regan <john@jrjrtech.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/majn/telegram-purple"
distfiles="https://github.com/majn/telegram-purple/releases/download/v${version}/telegram-purple_${version}.orig.tar.gz"
checksum=a8d91a0951453487315072b6ad0728ea846e4a75e40bbbc02047ad46cd000698

nocross="Requires running compiled tooling on host system"

if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
	broken="parse_tlo_file: Assertion 'get_int () == TLS_SCHEMA_V2' failed"
fi
