easyblock = 'ConfigureMake'

name = 'sharutils'
version = '4.15'

homepage = 'https://www.gnu.org/software/sharutils/'
description = """GNU shar makes so-called shell archives out of many files, preparing them for transmission by
 electronic mail services, while unshar helps unpacking shell archives after reception."""

toolchain = {'name': 'GCCcore', 'version': '6.3.0'}

source_urls = [GNU_SOURCE]
sources = [SOURCE_TAR_GZ]

# use same binutils version that was used when building GCC toolchain
builddependencies = [('binutils', '2.27', '', True)]

sanity_check_paths = {
    'files': ['bin/shar', 'bin/uudecode', 'bin/uuencode', 'bin/unshar'],
    'dirs': [],
}

moduleclass = 'tools'
