From ab59944d90ac277a83b24d55ec535efaa5a1cb2f Mon Sep 17 00:00:00 2001
From: Alessio Sergi <al3hex@gmail.com>
Date: Thu, 2 Feb 2017 15:30:49 +0100
Subject: [PATCH] python3-slixmpp: update to 1.2.4

Build stringprep module.
---
 srcpkgs/python3-slixmpp/template | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-slixmpp/template b/srcpkgs/python3-slixmpp/template
index 5048ae85f9e..98a15f7bccd 100644
--- a/srcpkgs/python3-slixmpp/template
+++ b/srcpkgs/python3-slixmpp/template
@@ -1,20 +1,23 @@
 # Template file for 'python3-slixmpp'
 pkgname=python3-slixmpp
-version=1.2.3
+version=1.2.4.post1
 revision=1
-noarch=yes
 wrksrc="slixmpp-${version}"
 build_style=python3-module
 pycompile_module="slixmpp"
-hostmakedepends="python3-setuptools"
+hostmakedepends="pkg-config python3-setuptools python3-Cython"
+makedepends="python3-devel libidn-devel"
 depends="python3-aiodns python3-pyasn1 python3-pyasn1-modules"
 short_desc="An elegant Python library for XMPP"
 maintainer="Franklin Delehelle <franklin.delehelle@odena.eu>"
 license="MIT"
 homepage="https://pypi.python.org/pypi/slixmpp"
 distfiles="${PYPI_SITE}/s/slixmpp/slixmpp-${version}.tar.gz"
-checksum=bd606fb2b833ddc5b17945536e3a26e6ef807de86f1424073e34bd849f29c398
+checksum=531622ce93789d710a831608591852fd1ada9b5012da5fad5028aacf1a18c46c
 
+pre_build() {
+	sed -i "s|os.environ.get('CC', 'cc')|'${CC}'|" setup.py
+}
 post_install() {
 	vlicense LICENSE
 }