The salaries of the deputy state's attorneys shall be paid in the same manner that the salary of the state's attorney is paid each month.
No deputy state's attorney shall be entitled to receive any salary under the provisions of this section, unless the state's attorney shall, at the same time, attend to and perform the duties of his office as provided by law.
The board of county commissioners may in its discretion allow such compensation for the deputies as it shall deem proper.
SDCL 7-16-5