Cut the pickles and onions into pieces, then chop in the blender.
Put the onion, butter and sugar in a saucepan and sauté for about 3 minutes. Add the curry and cook for another 2 minutes. Add the remaining ingredients including the chopped cucumber, cook for 15 minutes and season to taste.
Fill into four clean jars or bottles of 450 g each while still hot and close immediately.
Also suitable as a grill and fondue sauce. It can be kept in the refrigerator for several months.