use strict;
use warnings;

use Module::Build;

my $build = Module::Build->new(
   module_name => 'Device::Chip::SSD1306',
   requires => {
      'perl' => '5.026',
      'Future::AsyncAwait' => '0.39', # async method
      'Object::Pad' => '0.51',

      'Device::Chip' => 0,
   },
   test_requires => {
      'Test::Device::Chip::Adapter' => 0,
      'Test::More' => '0.88', # done_testing
   },
   configure_requires => {
      'Module::Build' => '0.4004', # test_requires
   },
   license => 'perl',
   create_license => 1,
   create_readme  => 1,
);

$build->create_build_script;