Drain the apricots on a sieve. Finely dice half the apricots. (Pass the remaining apricots to the raclette.) Peel and finely dice the onion. Boil up the apricots, onion, lemon juice and sugar in a pot. Let everything boil down for about 10 minutes while stirring. Stir from time to time. Season to taste with curry, salt and pepper,