use strict;
use warnings;
use Module::Build;

my $builder = Module::Build->new(
    module_name         => 'WWW::Pastebin::PastebinCa::Create',
    license             => 'perl',
    dist_author         => 'Zoffix Znet <zoffix@cpan.org>',
    dist_version_from   => 'lib/WWW/Pastebin/PastebinCa/Create.pm',
    build_requires => {
        'Test::More'              => 0,
        'Test::RequiresInternet'  => 0,
    },
    requires => {
        'Carp'                  => 1.04,
        'URI'                   => 1.35,
        'WWW::Mechanize'        => 1.34,
        'JSON::PP'              => 0,
        'Digest::SHA'           => 0,
        'overload'              => 1.04,
        'perl'                  => '5.006',
    },
    configure_requires => { 'Module::Build' => 0 },
    add_to_cleanup      => [ 'WWW-Pastebin-PastebinCa-Create-*' ],
    create_makefile_pl => 'traditional',
);
if ( $ENV{RELEASE_TESTING} ) {
    system('pod2text lib/WWW/Pastebin/PastebinCa/Create.pm > README');
}
$builder->create_build_script();
