The approval of the director is required before a dividend is declared if the total of all dividends, including the proposed dividend, declared by the directors of a bank in any calendar year exceeds the total of its net profits of that year to date combined with its retained net profits of the preceding two years, less any required transfers to surplus or a fund for the retirement of any preferred stock.
SDCL 51A-3-19