# IT4Inovations 2019

easyblock = 'ConfigureMake'

name = 'libsodium'
version = '1.0.17'

homepage = 'http://doc.libsodium.org/'
description = """Sodium is a modern, easy-to-use software library for encryption, decryption, signatures,
 password hashing and more."""

toolchain = {'name': 'system', 'version': ''}

source_urls = ['https://download.libsodium.org/libsodium/releases/']
sources = [SOURCE_TAR_GZ]

sanity_check_paths = {
    'files': [
        'include/sodium.h',
        'lib/libsodium.%s' %
        SHLIB_EXT,
        'lib/libsodium.a'],
    'dirs': [
        'include/sodium',
        'lib/pkgconfig'],
}

moduleclass = 'lib'
