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 = {'name': 'intel', 'version': '2017.02'}

sources = [SOURCE_TAR_GZ]
source_urls = [XORG_LIB_SOURCE]

builddependencies = [('xorg-macros', '1.19.0')]

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'
