easyblock = 'ConfigureMake'

name = 'xtrans'
version = '1.3.5'

homepage = "http://www.freedesktop.org/wiki/Software/xlibs"
description = """xtrans includes a number of routines to make X implementations transport-independent;
 at time of writing, it includes support for UNIX sockets, IPv4, IPv6, and DECnet.
"""

toolchain = SYSTEM
toolchainopts = {'optarch': True}

sources = [SOURCE_TAR_GZ]
source_urls = [XORG_LIB_SOURCE]

sanity_check_paths = {
    'files': ['include/X11/Xtrans/%s' % x for x in [
        'transport.c', 'Xtrans.c', 'Xtrans.h', 'Xtransint.h', 'Xtranslcl.c',
        'Xtranssock.c', 'Xtransutil.c'
    ]
    ],
    'dirs': []
}

moduleclass = 'devel'