1use strict;
2use inc::Module::Install;
3
4name 'Crypt-DH';
5abstract 'Diffie-Hellman key exchange system';
6author 'Benjamin Trott (cpan:BTROTT) <ben+cpan@stupidfool.org>';
7author 'BinGOs - Chris Williams (cpan:BINGOS) <chris@bingosnet.co.uk>';
8author 'Mithaldu - Christian Walde (cpan:MITHALDU) <walde.christian@googlemail.com>';
9version_from 'lib/Crypt/DH.pm';
10readme_from 'lib/Crypt/DH.pm';
11license 'perl';
12no_index directory => 't';
13
14include 'ExtUtils::AutoInstall';
15
16perl_version '5.006';
17build_requires 'Test::More' => 0.47;
18eval { assertlibs lib => 'gmp', header => 'gmp.h'; };
19unless ($@) {
20  requires 'Math::BigInt::GMP' => 1.24;
21}
22else {
23  requires 'Math::BigInt::Pari' => 1.13;
24}
25
26requires('Math::BigInt' => '1.60');
27
28githubmeta;
29auto_include;
30auto_install;
31
32WriteAll;
33
34