# $Id: Portfile 46476 2009-02-05 10:36:41Z alakazam@macports.org $

PortSystem		1.0
PortGroup		python25 1.0

name			py25-recaptcha
version			1.0.3
maintainers		alakazam stechert
description		Python recaptcha client
long_description	Provides a CAPTCHA for Python using the reCAPTCHA service. Does not require any \
			imaging libraries because the CAPTCHA is served directly from reCAPTCHA. Also \
			allows you to securely obfuscate emails with Mailhide. This functionality requires \
			pycrypto. This library requires two types of API keys. If you'd like to use the \
			CAPTCHA, you'll need a key from http://recaptcha.net/api/getkey. For Mailhide, you'll \
			need a key from http://mailhide.recaptcha.net/apikey
categories-append	graphics
platforms		darwin freebsd
homepage		http://pypi.python.org/pypi/recaptcha-client
master_sites		http://pypi.python.org/packages/source/r/recaptcha-client/
distname		recaptcha-client-${version}
checksums		md5 5aaa88d703f1003ecc63a0ced00baad6 \
			sha1 8cdfc87f6eaa056e510130f605b3e2b616a0750e \
			rmd160 739b99c2b8a51ba41bb5cd49be2bbc377c765da2

depends_lib-append	port:py25-crypto

livecheck.check regex
livecheck.url   ${homepage}
livecheck.regex "recaptcha-client&amp;version=(\\d+(\\.\\d+)*)"
