There is a thing called a loan account. You make a book entry paying you wages, you pay the PAYEE, alternatively provisional tax, and it remains in the company as a loan by you to the company. The company then always runs at cost or a loss, depending on your preference, but has working capital. You can take the capital out when ever it is liquid and diminish the loan account, with out then having to worry about any tax, as this is already taken care off.

The only disadvantage is the day you wish to sell the company, the purchaser may see the business as a bad investment because it makes no profit. This is where you have to show the purchaser where the profit of the company lays.
The other disadvantage is that this is only good for small companies, or sole owners. When partners are involved, you need to have a memorandum of agreement that payments as wages are proportional to share holding, and that there must be an agreement by all when the loans are repaid, or else every one pulls there money out and the company can not trade due to lack of capital, or alternatively only one shareholder keeps the company alive with his loan account.