# Description: WebSocket client library for Python.
# URL: https://github.com/liris/websocket-client
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: python3-setuptools python3-six

name=python3-websocket-client
version=0.57.0
release=1
source=(https://files.pythonhosted.org/packages/source/w/websocket_client/websocket_client-$version.tar.gz)

build() {
	cd websocket_client-$version

	sed -i "s/'backports.ssl_match_hostname'//" setup.py

	/usr/bin/python3 setup.py build
	/usr/bin/python3 setup.py install --root=$PKG --optimize=1
}
