# Template file for 'gajim-omemo'
pkgname=gajim-omemo
version=2.9.0
revision=1
create_wrksrc="omemo"
hostmakedepends="unzip"
depends="python3 python3-setuptools python3-cryptography python3-axolotl
 python3-qrcode gajim"
short_desc="Gajim plugin for OMEMO Encryption"
maintainer="Urs Schulz <voidpkgs@ursschulz.de>"
license="GPL-3.0-or-later"
homepage="https://dev.gajim.org/gajim/gajim-plugins/wikis/OmemoGajimPlugin"
distfiles="https://ftp.gajim.org/plugins/master/omemo/omemo_${version}.zip"
checksum=076396ac441b4e5bae62328575be85492a87229c7a214b23f7edd1ac5dcac97b

do_install() {
	install -d "${DESTDIR}/${py3_sitelib}/gajim/data/plugins/${pkgname#gajim-}"
	cp -r * "${DESTDIR}/${py3_sitelib}/gajim/data/plugins/${pkgname#gajim-}"
}
