package cPanel::Support::cPSupport;

use strict;
use warnings;

our $VERSION = 0.1;
my $pkg = __PACKAGE__;

our $meta_info = {
    adminuser_pass => 1, 
    admin_email    => 1, 
    installdir     => 'cpsupport',
    description    => 'Perl/MySQL based support ticket system', # required
    security       => '<b>!! BETA !!</b> - Since its not PHP it does not have the many issues inherent to PHP.',
    version        => '1-0.9.1', # required
    security_rank  => 7, 
    website        => 'http://cpanel.net/', 
    config_files   => [qw(config.cgi includes/cpSupport.pm includes/SupportLib.pm)],
    mysql          => ['cps'],
    table_prefix   => 'cps', 
    cron           => qq(01 * * * * [% installdir %]/bin/waitnotice), 
    perl_module    => {
        'HTML::Template'    => '',
        'GD::SecurityImage' => '',
    },
};

#### action functions ##
sub install { shift->stdinstall(@_) }    
sub upgrade { shift->stdupgrade(@_) }    
sub uninstall { shift->stduninstall(@_) }

#### non action functions ##
sub installform { print shift->{installform} }
sub upgradeform { print shift->{upgradeform} }
sub uninstallform { print shift->{uninstallform} }

1;
